package com.ityedao.实体类;

public class Test {
    public static void main(String[] args) {
        // 掌握实体类的书写要求、特点、应用场景
        Student s1 = new Student();
        s1.setName("宗介");
        s1.setScore(99);
        System.out.println(s1.getName());
        System.out.println(s1.getScore());

        StudentOperator studentOperator = new StudentOperator(s1);
        studentOperator.printPass();
    }
}
